-- GENERATED SPELL FOR [Razorbeak Gryphon] --


function spell0_2658(pUnit, Event) --@Rend Flesh,n/a--
pUnit:FullCastSpellOnTarget(3147,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2658', 12000, 1)
end

function Sorts_2658(pUnit, Event)
local choix_sorts_2658 = math.random(0, 0)
if choix_sorts_2658 == 0 then
pUnit:RegisterEvent('spell0_2658', 1, 1)
end
end

function mob2658_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2658', math.random(1500, 3000), 1)
end

function mob2658_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2658_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2658_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2658, 1, 'mob2658_Action')
RegisterUnitEvent(2658, 2, 'mob2658_Leave')
RegisterUnitEvent(2658, 3, 'mob2658_Kill')
RegisterUnitEvent(2658, 4, 'mob2658_Die')
